<include file="Public/frame-header" />
</head>
<body class="J_scroll_fixed">
	<div class="wrap jj">
		<div class="common-form">
		<form action="<{:U('edit')}>" id="appForm" method="post">
 
		    <table style="line-height: 40px;">
		    	<tr>
		            <th>服务名称：</th>
		            <td>{$one.service_name}</td>
		        </tr>
		        <tr>
		            <th>服务价格：</th>
		            <td>{$one.price}</td>
		        </tr>
		        <tr>
		            <th>服务时长：</th>
		            <td>{$one.service_time}分钟</td>
		        </tr>
		        <tr>
		            <th>订单编号：</th>
		            <td>{$one.order_number}</td>
		        </tr>
		         <tr>
		            <th>电话：</th>
		            <td>{$user.mobile}</td>
		        </tr>
		        <tr>
		            <th>姓名：</th>
		            <td>{$user.username}</td>
		        </tr>
		        <tr>
		            <th>美容师：</th>
		            <td>{$beautician.name}</td>
		        </tr>
		        <tr>
		            <th>美容院：</th>
		            <td>{$beauty.name}</td>
		        </tr>
		        <tr>
		            <th>预约时间：</th>
		            <td>{$one.order_time|date='Y-m-d H:i',###}</td>
		        </tr>
		        <tr>
		            <th>服务地址：</th>
		            <td>{$one.service_address}</td>
		        </tr>
		        <tr>
		        	<php>$method=array("1"=>"微信支付","2"=>"支付宝");</php>
		            <th>支付方式：</th>
		            <td>{$method[$one['pay_method_type']]}</td>
		        </tr>
		        <tr>
		            <th>订单生成日期：</th>
		            <td>{$one.created|date='Y-m-d H:i:s',###}</td>
		        </tr>
		        <if condition='$one["pay_date"] neq 0' >
		        <tr>
		            <th>支付时间：</th>
		            <td>
		            	{$one.pay_date|date='Y-m-d H:i:s',###}
	            	</td>
		        </tr>
			        <if condition='$one["use_time"] neq 0' >
				       	<tr>
				            <th>使用时间：</th>
				            <td>
				            	{$one.use_time|date='Y-m-d H:i:s',###}
				            </td>
				        </tr>
			        </if>
		        </if>
		        <tr>
		            <th>状态：</th>
		            <td><if condition='$one.status eq 1'>
		        		已付款
		        	<elseif condition='$one.status eq 2' />
		        		未付款
		        	<elseif condition='$one.status eq 3' />
		        		服务中
		        	<elseif condition='$one.status eq 4' />
		        		已使用
		        	<elseif condition='$one.status eq 0' />
		        		已删除
		        	<elseif condition='$one.status eq 5'/>
		        		已取消
		        	<elseif condition='$one.status eq 7'/>
		        		退款中
		        	<else />
		        	</if>
		        	</td>
		        </tr>
		    </table>
	    </form>
		</div>
	</div>
	<script src="__ADMIN__/statics/js/common.js"></script>
</body>
</html>